package cn.tedu.sgs.garbage.mapper;

import cn.tedu.sgs.garbage.pojo.dto.GarbageQuery;
import cn.tedu.sgs.garbage.pojo.entity.Garbage;
import cn.tedu.sgs.garbage.pojo.vo.GarbageVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GarbageMapper {
	List<GarbageVO> selectGarbage(GarbageQuery garbageQuery);

	void update(Garbage garbage);

	void insert(Garbage garbage);

	void deleteById(Long id);
}
